package com.choosefine.base.common

import com.choosefine.base.common.bean.BaseToolkitBean
import com.choosefine.base.common.bean.HttpBean
import com.fasterxml.jackson.databind.ObjectMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.client.RestTemplate
import java.util.*

/**
 * Created by 邱鹏 on 2017/6/8.
 */
open class ToolkitBean {
    @Autowired
    lateinit   var http: HttpBean//restful api消息转化
    @Autowired
    lateinit  var jsonObjectMapper: ObjectMapper//spring boot自动注入的mapper， 会自动把首字母小写
    @Autowired
    lateinit  var restTemplate: RestTemplate
    @Autowired
    lateinit  var yml: Properties
    @Autowired
    lateinit var base: BaseToolkitBean
}